#!/bin/sh

# Database info
DB_HOST="localhost:6362"
DB_NAME="rettc"

# Others vars
BIN_DIR="/soft/neo4j/bin"            #the mysql bin path
BCK_DIR="/home/rettc/neo4jBackup"    #the backup file directory
DATE=`date +%F`

# TODO
$BIN_DIR/neo4j-admin backup --from=DB_HOST --backup-dir=$BCK_DIR --name=$DB_NAME$DATE